From 8d359451bdfca28f282072f34e7d1c7f77fbfac2 Mon Sep 17 00:00:00 2001 From: Hans van Kranenburg Date: Mon, 7 Sep 2020 01:48:48 +0200 Subject: [PATCH] d/xen-hypervisor-V-F.lintian-overrides.vsn-in: fix override First of all, debug-package-should-be-named-dbg does not exist any more, but debug-suffix-not-dbg does, change it. Lintian complains: W: xen-hypervisor-4.14-amd64: debug-suffix-not-dbg usr/lib/debug/xen-4.14.0.efi.map.gz N: N: This package provides at least one file in /usr/lib/debug, which is N: intended for detached debugging symbols, but the package name does not N: end in "-dbg". Detached debugging symbols should be put into a separate N: package, Priority: extra, with a package name ending in "-dbg". N: N: Refer to Debian Developer's Reference section 6.7.9 (Best practices for N: debug packages) for details. N: N: Severity: warning N: N: Check: files/debug ...and also complains: W: xen-hypervisor-4.14-amd64: mismatched-override debug-suffix-not-dbg usr/lib/debug/xen-*-pre.efi.map.gz N: N: The named tag could have been silenced but the context specified with N: the override did not match. N: N: Lintian may now provide a different context for the tag, or something N: could have changed in a new version of your package. Either way, N: overrides work best when you require only little context. N: N: You can use wildcards, such as * or ? in the context to makes N: a match more likely. N: N: Please remove or adjust the override, whichever suits your purpose. N: N: Severity: warning N: N: Check: lintian So, secondly, fix this by dropping the -pre part which prevents it from matching. Signed-off-by: Hans van Kranenburg --- debian/xen-hypervisor-V-F.lintian-overrides.vsn-in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/xen-hypervisor-V-F.lintian-overrides.vsn-in b/debian/xen-hypervisor-V-F.lintian-overrides.vsn-in index ea065e1d92..b0362510ca 100644 --- a/debian/xen-hypervisor-V-F.lintian-overrides.vsn-in +++ b/debian/xen-hypervisor-V-F.lintian-overrides.vsn-in @@ -1,4 +1,4 @@ -debug-package-should-be-named-dbg usr/lib/debug/xen-*-pre.efi.map.gz +debug-suffix-not-dbg usr/lib/debug/xen-*.efi.map.gz # ^ as is traditional for kernels too, we ship the debug information # in the hypervisor package rather than creating yet another # package just for this file, which is only 50K or so anyway. -- 2.30.2